package org.brudywr.mychat.service;

import org.brudywr.mychat.dao.MessageEntity;

import java.util.Collection;

/**
 * @author stas
 * @since 9/3/13
 */
public interface MyChatRoomService {

    void addMessage(String nick, String message);

    Collection<MessageEntity> getAllMessages();
}
